FTP=`which ftp`
LOCALDIR=/home/backups/
REMOTEDIR=dzeta
FTPSERVER=10.100.0.12
FTPUSER=usetawiki
FTPPW=bkp121207

$FTP -in <<EOF
open $FTPSERVER
user $FTPUSER $FTPPW
bin
cd $REMOTEDIR
lcd $LOCALDIR
mput *
bye
EOF
